C:\Users\abc\AppData\Local\Programs\Anki>Error: Failed to run (1): C:\Users\abc\AppData\Local\AnkiProgramFiles\.venv\Scripts/pythonw.exe -c import aqt, sys; sys.argv[0] = 'Anki'; aqt.run() --syncserver```
reinstalled the older version again to check if the sync works, an it worked fine
Questions:
When i went to delete the anki, I saw it was not present in “Programs and Features” list of window. For both my new and old verstion of anki. Why?
the folder “C:\Users\…\AppData\Local\AnkiProgramFiles\” was not created on older version, but is created on newer version. Found it, when went to delete the anki from system. Has the installation directories of anki changed?
Custom sync server is very important for me. So cannot upgrade untill this problem is resolved. What changes do i need to make so my custom sync server works on new anki version also?
For versions up through 25.02.x, installed with the regular installer program, it should be. If you’re using the new launcher – beginning with version 25.07 – I’m not surprised it’s not, because I don’t think it’s “installed” in the conventional Windows sense. [But I don’t know if that’s different for the launcher between Windows 10 and 11 though.]
It is also “broken” (with an easy fix) in 25.07.05 on MacOS. From my “About” screen…
Versión 25.07.5 (7172b2d2)
Python 3.13.5 Qt 6.9.1 Chromium 122
I don’t know from what version I upgraded, but I know it was not 25.07, because the Hypertts guy emailed people warning that his addon wouldn’t work well with it for a while a couple months ago.
The usual command, which has worked for me before:
Turns out it wasn’t broken on Windows - you get that error when you run the sync server again when it’s already running, which is not very apparent when using the non-console variant. I’ve pushed an update to the docs for both platforms. Tweak sync server docs · ankitects/anki-manual@27f8ea3 · GitHub