Closed schwa closed 2 years ago
Thanks very much for the bug report!
I expect that this is linked to the backup changes in Anki in PR 1728. We probably can now just use aqt.mw.create_backup_now
. I'll try to look into this in greater detail in a couple of days' time.
(I had tested the Anki 2.1.50 beta a while ago, hadn't encountered any critical issues at the time and didn't check again. :/)
Sticking to .49 as a temporary workaround is fine.
exact same error on:
Debug info:
Anki 2.1.51 (cf78a555) Python 3.10.4 Qt 5.15.2 PyQt 5.15.6
Platform: Linux
I tried to test this and copied the crowd_anki directory (from the branch above) into my addons2. But when I start Anki 2.1.51 or 2.1.52 the addon does not seem to be available. After restarting Anki the menu items are not available, and going to tools addons the addon is visible but config button is also not available. Did I have to do anything further than copy the directory? Thanks for all your work on this!
Did I have to do anything further than copy the directory?
You need the dependencies in dist/
. You can generate them by running fetch_dependencies.sh
(basically a pip install into dist/
), or more easily/faster by copying them from the dist/
from CrowdAnki from AnkiWeb or from the latest release (the dependencies haven't changed since the v0.9.1 release, so dist/
will be the same.
(This is necessary because Anki doesn't have any good mechanism for managing dependencies.)
Edit: Also, you need to rename the directory from crowd_anki
to something else (e.g. crowd-anki
) — otherwise main won't be imported.
Awesome. Thank you
Importing a crowdanki document on Anki 2.1.50 (File > Crowd Anki Import from Disk) causes an exception to be thrown the import to fail. Failure occurs with my existing Anki Profile or with a new testing Anki Profile. It fails with a variety of crowdanki documents.
Upgrading the latest crowdanki via the Anki menu,
Downgrading to Anki 2.1.49 works around the error.
Here's the copied error: