Anki Mac: 'refresh certs: no such file or directory' error

Whenever I use Anki on my computer, I keep getting the following error message:

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.55 (01caec2a) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-12.6-x86_64-i386-64bit
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-12-22 10:54:05

Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 1413, in refresh_certs
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/folders/k3/3x720hhd5qs2bst5k3nwlg1c0000gn/T/tmpnsal6anscacert.pem’

I tried Tools > Check Database over ten times now, but it doesn’t seem to solve the problem as I keep getting the same message. Although my Anki seems to work fine, I have just been finding these recurring error messages quite irritating as they continue to show up while I create my flashcards.

Is there anything I can do to get rid of them?

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.55 (01caec2a) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-12.5-arm64-arm-64bit
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-12-26 12:56:18

Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 1413, in refresh_certs
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/folders/rt/xg5_6hkn1pj47kfjp53psx6c0000gn/T/tmpssfeocpacacert.pem’

Thank you for the reports; a fix for this will be in the next beta/release. In the mean time, restarting Anki should make it go away temporarily.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.