Handle geolocation graceful when geojs.io is on deny-list
Some filter lists has geolocators on deny-list.
File "/usr/lib/python3.9/site-packages/pacman_mirrors/functions/httpFn.py", line 125, in get_ip_country resp = requests.get("https://get.geojs.io/v1/ip/country/full", File "/usr/lib/python3.9/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/usr/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='get.geojs.io', port=443): Max retries exceeded with url: /v1/ip/country/full (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f75a9c6e1c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information