Can someone help me with this glitch?

Basically everytime i try to run anki it doesn’t open, then after multiple tries it actually gives me this troubleshoot message about syncing however I am unable to fix this problem as I am not understanding the cause of the issue. please if someone could help me fix anki.

thank youuuu

Debug info:
Traceback (most recent call last):
File “C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\main.py”, line 650, in loadCollection
self._loadCollection()
~~~~~~~~~~~~~~~~~~~~^^
File “C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\aqt\main.py”, line 686, in _loadCollection
self.col = Collection(cpath, backend=self.backend)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\collection.py”, line 152, in init
self.reopen()
~~~~~~~~~~~^^
File “C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki\collection.py”, line 293, in reopen
self._backend.open_collection(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
collection_path=self.path,
^^^^^^^^^^^^^^^^^^^^^^^^^^
media_folder_path=media_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
media_db_path=media_db,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki_backend_generated.py”, line 143, in open_collection
raw_bytes = self._run_command(3, 0, message.SerializeToString())
File “C:\Users\User\AppData\Local\AnkiProgramFiles.venv\Lib\site-packages\anki_backend.py”, line 171, in _run_command
raise backend_exception_to_pylib(err)
anki.errors.DBError: Anki already open, or media currently syncing.

1 Like

That suggests you’re opening multiple instances of Anki – probably because it’s already trying to run when you try to start it again.

So you can see what is hanging it up as it is starting, try running Anki from a command prompt, and show us those results. You should probably restart your computer first – or make sure nothing called Anki, python, or QtWeb… is running already.

Instructions: Startup Issues - Anki Manual – but for your version, the command you need to run is %LocalAppData%\Programs\Anki\anki-console.exe.

You can also try the Troubleshooting Checklist – especially #2 (holding Shift should work even if you’re running it from the command prompt).

1 Like

Hello,

sorry I totally forgot to reply again. Basically, I tried the check database button in tools on desktop. i got this error showing up. I think there is an issue maybe with the add-on causing all my trouble with anki. Basically what happens is that the app takes so much time to open and sometimes doesn’t open at all. Also I am unable to sync my anki desktop with anki web so there is always a loss of progress and i have to keep on using old backups to be able to open anki.

Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Windows-11-10.0.26100-SP0

Exception in thread Exception in threading.excepthook:Exception ignored in thread started by <bound method Thread._bootstrap of <Thread(Thread-2 (_periodic_flush), started daemon 16836)>>Exception ignored in sys.unraisablehook===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiHub [‘1322529746’, 2025-09-17T16:29, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T10:15, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-30T04:43, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1322529746 1374772155 1771074083

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Please restart your computer and then start Anki while holding down the shift key, to disable add-ons. Does the problem go away?

2 Likes

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