Anki Error after disabling add ons

Hello, would anyone be able to help me? I have disabled all ad ons and still continue to receive this message. Thank you!

Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2023-01-11 04:04:56

Caught exception:
Traceback (most recent call last):
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 60, in init
_LoadDicts()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 116, in _LoadDicts
f = open(os.path.join(win32com.gen_path, “dicts.dat”), “rb”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\dicts.dat’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 151, in GetGeneratePath
os.stat(fname)
FileNotFoundError: [WinError 3] The system cannot find the path specified: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\init.py’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 197, in on_window_init
File “aqt.main”, line 243, in setupProfileAfterWebviewsLoaded
File “aqt.main”, line 290, in setupProfile
File “aqt.main”, line 450, in loadProfile
File “aqt.main”, line 525, in setup_sound
File “aqt.sound”, line 867, in setup_audio
File “aqt.tts”, line 269, in
File “C:\Program Files\Anki\lib\win32com\client_init_.py”, line 11, in
from . import gencache
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 761, in
init()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 62, in init
Rebuild()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 746, in Rebuild
_SaveDicts()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 73, in _SaveDicts
f = open(os.path.join(GetGeneratePath(), “dicts.dat”), “wb”)
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 153, in GetGeneratePath
f = open(fname, “w”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\init.py’

Could you try trying on 2.1.56?

I updated Anki and it looks like the problem still persists.

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22000
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-01-13 06:56:08

Caught exception:
Traceback (most recent call last):
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 60, in init
_LoadDicts()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 116, in _LoadDicts
f = open(os.path.join(win32com.gen_path, “dicts.dat”), “rb”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\dicts.dat’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 151, in GetGeneratePath
os.stat(fname)
FileNotFoundError: [WinError 3] The system cannot find the path specified: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\init.py’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 197, in on_window_init
File “aqt.main”, line 242, in setupProfileAfterWebviewsLoaded
File “aqt.main”, line 293, in setupProfile
File “aqt.main”, line 453, in loadProfile
File “aqt.main”, line 537, in setup_sound
File “aqt.sound”, line 867, in setup_audio
File “aqt.tts”, line 269, in
File “C:\Program Files\Anki\lib\win32com\client_init_.py”, line 11, in
from . import gencache
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 761, in
init()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 62, in init
Rebuild()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 746, in Rebuild
_SaveDicts()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 73, in _SaveDicts
f = open(os.path.join(GetGeneratePath(), “dicts.dat”), “wb”)
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 153, in GetGeneratePath
f = open(fname, “w”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\init.py’

Could you try the solution said by dae above

I am not seeing the last bit gen_py/ in my computer

Your temp folder appears to be in a different location.

Thank you for helping me

i can’t seem to find that extension.

I uninstalled and then anki. This is the error message I am receiving currently.

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.56 (07fd88dd) Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22000
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2023-01-16 04:53:51

Caught exception:
Traceback (most recent call last):
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 60, in init
_LoadDicts()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 116, in _LoadDicts
f = open(os.path.join(win32com.gen_path, “dicts.dat”), “rb”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\dicts.dat’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 151, in GetGeneratePath
os.stat(fname)
FileNotFoundError: [WinError 3] The system cannot find the path specified: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\init.py’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 197, in on_window_init
File “aqt.main”, line 242, in setupProfileAfterWebviewsLoaded
File “aqt.main”, line 293, in setupProfile
File “aqt.main”, line 453, in loadProfile
File “aqt.main”, line 537, in setup_sound
File “aqt.sound”, line 867, in setup_audio
File “aqt.tts”, line 269, in
File “C:\Program Files\Anki\lib\win32com\client_init_.py”, line 11, in
from . import gencache
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 761, in
init()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 62, in init
Rebuild()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 746, in Rebuild
_SaveDicts()
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 73, in _SaveDicts
f = open(os.path.join(GetGeneratePath(), “dicts.dat”), “wb”)
File “C:\Program Files\Anki\lib\win32com\client\gencache.py”, line 153, in GetGeneratePath
f = open(fname, “w”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\PROGRA~1\KMSpico\temp\gen_py\3.9\init.py’

disregard thank you for the help dae i really appreciate it

1 Like

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