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.
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).
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.