Before the error happened, I was…
syncing my decks. I tried to restart anki & log out of ankihub, now I can’t log back in.
Error message (don't change this)
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Mac 13.2.1
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-05-24 09:59:23
Traceback (most recent call last):
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 155, in login
token = ankihub_client.login(credentials=credentials)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 233, in login
response = self._send_request("POST", API.ANKIHUB, "/login/", json=credentials)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 192, in _send_request
response = self._send_request_with_retry(prepped, stream=stream)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 206, in _send_request_with_retry
response = self._send_request_with_retry_inner(request, stream=stream)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 289, in wrapped_f
return self(f, *args, **kw)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 379, in __call__
do = self.iter(retry_state=retry_state)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 314, in iter
return fut.result()
File "concurrent.futures._base", line 438, in result
File "concurrent.futures._base", line 390, in __get_result
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/lib/tenacity/__init__.py", line 382, in __call__
result = fn(*args, **kwargs)
File "/Users/alecbryson/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 227, in _send_request_with_retry_inner
response = session.send(request, stream=stream)
File "requests.sessions", line 645, in send
File "requests.adapters", line 417, in send
File "requests.adapters", line 228, in cert_verify
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /var/folders/20/x1zm02vx3t51p04yl19pgmqr0000gn/T/tmpdpzzr0c5cacert.pem